Skip to content

feat: fix bugs in arbitration and power-thresh commands#3118

Merged
igaw merged 1 commit intolinux-nvme:masterfrom
Micron-TPG-OSS:feature-bugfixes
Mar 2, 2026
Merged

feat: fix bugs in arbitration and power-thresh commands#3118
igaw merged 1 commit intolinux-nvme:masterfrom
Micron-TPG-OSS:feature-bugfixes

Conversation

@jimmunn
Copy link
Copy Markdown
Contributor

@jimmunn jimmunn commented Feb 27, 2026

arbitration_set() used temp_thresh_feat instead of arbitration_feat in the error path, and feat_arbitration() passed TEMP_THRESH_DESC instead of ARBITRATION_DESC to parse_and_open().

power_thresh_set() used __u8 instead of __u16 for the ptv parameter, truncating the power threshold value.

arbitration_set() used temp_thresh_feat instead of arbitration_feat
in the error path, and feat_arbitration() passed TEMP_THRESH_DESC
instead of ARBITRATION_DESC to parse_and_open().

power_thresh_set() used __u8 instead of __u16 for the ptv parameter,
truncating the power threshold value.

Signed-off-by: Jim Munn <[email protected]>
@ikegami-t
Copy link
Copy Markdown
Contributor

Looks good. Thank you for your fix. Sorry for the errors.

@igaw igaw merged commit 733f477 into linux-nvme:master Mar 2, 2026
19 checks passed
@igaw
Copy link
Copy Markdown
Collaborator

igaw commented Mar 2, 2026

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants